Optimal. Leaf size=136 \[ -\frac {2 \sqrt {a x^3+b x^4}}{9 a x^6}+\frac {16 b \sqrt {a x^3+b x^4}}{63 a^2 x^5}-\frac {32 b^2 \sqrt {a x^3+b x^4}}{105 a^3 x^4}+\frac {128 b^3 \sqrt {a x^3+b x^4}}{315 a^4 x^3}-\frac {256 b^4 \sqrt {a x^3+b x^4}}{315 a^5 x^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.12, antiderivative size = 136, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 2, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {2041, 2025}
\begin {gather*} -\frac {256 b^4 \sqrt {a x^3+b x^4}}{315 a^5 x^2}+\frac {128 b^3 \sqrt {a x^3+b x^4}}{315 a^4 x^3}-\frac {32 b^2 \sqrt {a x^3+b x^4}}{105 a^3 x^4}+\frac {16 b \sqrt {a x^3+b x^4}}{63 a^2 x^5}-\frac {2 \sqrt {a x^3+b x^4}}{9 a x^6} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2025
Rule 2041
Rubi steps
\begin {align*} \int \frac {1}{x^4 \sqrt {a x^3+b x^4}} \, dx &=-\frac {2 \sqrt {a x^3+b x^4}}{9 a x^6}-\frac {(8 b) \int \frac {1}{x^3 \sqrt {a x^3+b x^4}} \, dx}{9 a}\\ &=-\frac {2 \sqrt {a x^3+b x^4}}{9 a x^6}+\frac {16 b \sqrt {a x^3+b x^4}}{63 a^2 x^5}+\frac {\left (16 b^2\right ) \int \frac {1}{x^2 \sqrt {a x^3+b x^4}} \, dx}{21 a^2}\\ &=-\frac {2 \sqrt {a x^3+b x^4}}{9 a x^6}+\frac {16 b \sqrt {a x^3+b x^4}}{63 a^2 x^5}-\frac {32 b^2 \sqrt {a x^3+b x^4}}{105 a^3 x^4}-\frac {\left (64 b^3\right ) \int \frac {1}{x \sqrt {a x^3+b x^4}} \, dx}{105 a^3}\\ &=-\frac {2 \sqrt {a x^3+b x^4}}{9 a x^6}+\frac {16 b \sqrt {a x^3+b x^4}}{63 a^2 x^5}-\frac {32 b^2 \sqrt {a x^3+b x^4}}{105 a^3 x^4}+\frac {128 b^3 \sqrt {a x^3+b x^4}}{315 a^4 x^3}+\frac {\left (128 b^4\right ) \int \frac {1}{\sqrt {a x^3+b x^4}} \, dx}{315 a^4}\\ &=-\frac {2 \sqrt {a x^3+b x^4}}{9 a x^6}+\frac {16 b \sqrt {a x^3+b x^4}}{63 a^2 x^5}-\frac {32 b^2 \sqrt {a x^3+b x^4}}{105 a^3 x^4}+\frac {128 b^3 \sqrt {a x^3+b x^4}}{315 a^4 x^3}-\frac {256 b^4 \sqrt {a x^3+b x^4}}{315 a^5 x^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.09, size = 64, normalized size = 0.47 \begin {gather*} -\frac {2 \sqrt {x^3 (a+b x)} \left (35 a^4-40 a^3 b x+48 a^2 b^2 x^2-64 a b^3 x^3+128 b^4 x^4\right )}{315 a^5 x^6} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.49, size = 83, normalized size = 0.61
method | result | size |
trager | \(-\frac {2 \left (128 b^{4} x^{4}-64 a \,b^{3} x^{3}+48 a^{2} b^{2} x^{2}-40 a^{3} b x +35 a^{4}\right ) \sqrt {b \,x^{4}+a \,x^{3}}}{315 a^{5} x^{6}}\) | \(63\) |
risch | \(-\frac {2 \left (b x +a \right ) \left (128 b^{4} x^{4}-64 a \,b^{3} x^{3}+48 a^{2} b^{2} x^{2}-40 a^{3} b x +35 a^{4}\right )}{315 x^{3} \sqrt {x^{3} \left (b x +a \right )}\, a^{5}}\) | \(66\) |
gosper | \(-\frac {2 \left (b x +a \right ) \left (128 b^{4} x^{4}-64 a \,b^{3} x^{3}+48 a^{2} b^{2} x^{2}-40 a^{3} b x +35 a^{4}\right )}{315 x^{3} a^{5} \sqrt {b \,x^{4}+a \,x^{3}}}\) | \(68\) |
default | \(-\frac {2 \sqrt {x \left (b x +a \right )}\, \sqrt {b \,x^{2}+a x}\, \left (128 b^{4} x^{4}-64 a \,b^{3} x^{3}+48 a^{2} b^{2} x^{2}-40 a^{3} b x +35 a^{4}\right )}{315 x^{4} \sqrt {b \,x^{4}+a \,x^{3}}\, a^{5}}\) | \(83\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.32, size = 62, normalized size = 0.46 \begin {gather*} -\frac {2 \, {\left (128 \, b^{4} x^{4} - 64 \, a b^{3} x^{3} + 48 \, a^{2} b^{2} x^{2} - 40 \, a^{3} b x + 35 \, a^{4}\right )} \sqrt {b x^{4} + a x^{3}}}{315 \, a^{5} x^{6}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{x^{4} \sqrt {x^{3} \left (a + b x\right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.61, size = 140, normalized size = 1.03 \begin {gather*} \frac {2 \, {\left (1008 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a x}\right )}^{4} b^{2} + 1680 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a x}\right )}^{3} a b^{\frac {3}{2}} + 1080 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a x}\right )}^{2} a^{2} b + 315 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a x}\right )} a^{3} \sqrt {b} + 35 \, a^{4}\right )}}{315 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a x}\right )}^{9} \mathrm {sgn}\left (x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 5.14, size = 116, normalized size = 0.85 \begin {gather*} \frac {16\,b\,\sqrt {b\,x^4+a\,x^3}}{63\,a^2\,x^5}-\frac {2\,\sqrt {b\,x^4+a\,x^3}}{9\,a\,x^6}-\frac {32\,b^2\,\sqrt {b\,x^4+a\,x^3}}{105\,a^3\,x^4}+\frac {128\,b^3\,\sqrt {b\,x^4+a\,x^3}}{315\,a^4\,x^3}-\frac {256\,b^4\,\sqrt {b\,x^4+a\,x^3}}{315\,a^5\,x^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________